package com.diyizu.domain;

import java.io.Serializable;

/**
 * 用于封装学生信息
 * 学号(唯一)  姓名 性别 年龄 年级 班级 小组 手机号 学生地址
 */
public class Student implements Serializable {
    private static final long serialVersionUID = 888888L;
    private String sid;
    private String name;
    private String sex;
    private int age;
    private String grade;
    private String classes;
    private String group;
    private String phone;
    private String address;

    public Student() {
    }

    public Student(String sid, String name, String sex, int age, String grade, String classes, String group, String phone, String address) {
        this.sid = sid;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.grade = grade;
        this.classes = classes;
        this.group = group;
        this.phone = phone;
        this.address = address;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", grade='" + grade + '\'' +
                ", classes='" + classes + '\'' +
                ", group='" + group + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
